﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IStudyEditViewModel.cs" company="ELEN 7045 GROUP II">
//   Contributed by E.Vosloo
// </copyright>
// <summary>
//   The i study edit view model.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Presentation.Module.StudyDefinition.Interfaces.ViewModels
{
    #region

    using System.Windows.Input;

    using Presentation.Module.StudyDefinition.Interfaces.Views;
    using Presentation.Module.StudyDefinition.Models;

    #endregion

    /// <summary>
    /// The i study edit view model.
    /// </summary>
    public interface IStudyEditViewModel
    {
        #region Properties

        /// <summary>
        /// Gets EditStudy.
        /// </summary>
        ICommand EditStudy { get; }

        /// <summary>
        /// Gets or sets View.
        /// </summary>
        IStudyEditView View { get; set; }

        #endregion

        #region Public Methods

        /// <summary>
        /// The initialize.
        /// </summary>
        void Initialize();

        /// <summary>
        /// The on edit study.
        /// </summary>
        /// <param name="study">
        /// The study.
        /// </param>
        void OnEditStudy(Study study);

        #endregion
    }
}
